package com.lin.service.qanda;

import com.lin.common.error.CustomRuntimeException;
import com.lin.controller.req.AddQuestionsReqMsg;
import com.lin.controller.req.QuestionsReqMsg;
import com.lin.controller.res.QuestionsPageResMsg;

import java.io.IOException;

public interface QuestionsService {
    QuestionsPageResMsg list(Long customerId, Integer pageSize, Integer pageNo);

    Integer save(AddQuestionsReqMsg reqMsg) throws CustomRuntimeException, IOException;
}
